.message-box {
    z-index: 999;
    display: inline-block;
    width: 420px;
    padding-bottom: 10px;
    /* vertical-align: middle; */
    background-color: #fff;
    border-radius: 4px;
    border: 1px solid #ebeef5;
    font-size: 18px;
    box-shadow: 0 2px 12px 0 rgba(0,0,0,.1);
    text-align: left;
    overflow: hidden;
    /* backface-visibility: hidden; */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.message-box__header {
    position: relative;
    padding: 15px 15px 10px;
}

.message-box__headerbtn {
    position: absolute;
    top: 19px;
    right: 15px;
    padding: 0;
    border: none;
    outline: none;
    background: transparent;
    font-size: 16px;
    cursor: pointer;
    height: 10px;
    width: 10px;
}

.message-box__headerbtn img {
    height: 100%;
    width: 100%;
    display: block;
}

.message-box__title {
    padding-left: 0;
    margin-bottom: 0;
    font-size: 18px;
    line-height: 1;
    color: #303133;
}

.message-box__status+.message-box__message {
    padding-left: 36px;
    padding-right: 12px;
}

.message-box__content {
    padding: 10px 15px;
    color: #606266;
    font-size: 14px;
}

.message-box__container {
    position: relative;
}

.message-box__status {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px!important;
    height: 22px;
    width: 22px;
    background-image: url(../img/warning.png);
    background-size: 100%;
}

.message-box__status.message-box-icon-info {
    background-image: url("../img/info.png");
}

.message-box__status.message-box-icon-success {
    background-image: url("../img/success.png");
}

.message-box__status.message-box-icon-warning {
    background-image: url("../img/warning.png");
}

.message-box__status.message-box-icon-error {
    background-image: url("../img/error.png");
}

.message-box__message p {
    margin: 0;
    line-height: 24px;
}

.message-box__btns {
    padding: 5px 15px 0;
    text-align: right;
}

.button {
    display: inline-block;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    background: #fff;
    border: 1px solid #dcdfe6;
    color: #606266;
    -webkit-appearance: none;
    text-align: center;
    box-sizing: border-box;
    outline: none;
    margin: 0;
    transition: .1s;
    font-weight: 500;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    padding: 12px 20px;
    font-size: 14px;
    border-radius: 4px;
}

.button--small {
    padding: 9px 15px;
    font-size: 12px;
    border-radius: 3px;
}

.message-box__btns div:nth-child(2) {
    margin-left: 10px;
}

.button--primary {
    color: #fff;
    background-color: #409eff;
    border-color: #409eff;
}

.message-box__mask {
    z-index: 998;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: .5;
    background: #000;
}

.message-box__animation-fade-in {
	animation: message-box__animation-fade-in .3s cubic-bezier(0.65, 1.02, 0.57, 0.98) backwards;
}

.message-box__animation-fade-out {
	animation: message-box__animation-fade-out .3s cubic-bezier(0.65, 1.02, 0.57, 0.98) backwards;
}

.message-box__animation__mask-fade-in {
	animation: message-box__animation__mask-fade-in .3s cubic-bezier(0.65, 1.02, 0.57, 0.98) backwards;
}

.message-box__animation__mask-fade-out {
	animation: message-box__animation__mask-fade-out .3s cubic-bezier(0.65, 1.02, 0.57, 0.98) backwards;
}

@keyframes message-box__animation-fade-in{
	from{transform: translate(-50%, -70%);opacity: 0;}
	to{transform: translate(-50%, -50%); opacity: 1;}
}

@keyframes message-box__animation-fade-out{
	from{transform: translate(-50%, -50%); opacity: 1;}
	to{transform: translate(-50%, -70%);opacity: 0;}
}

@keyframes message-box__animation__mask-fade-in{
	from{opacity: 0;}
	to{opacity: .5;}
}

@keyframes message-box__animation__mask-fade-out{
	from{opacity: .5;}
	to{opacity: 0;}
}
